package com.xujie.sportsmeeting.dto;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import jakarta.validation.constraints.*;

/**
 * 报名信息DTO
 */
@Data
@Schema(description = "报名信息DTO")
public class RegistrationDTO {
    
    @Schema(description = "项目ID")
    @NotNull(message = "项目ID不能为空")
    private Long eventId;
    
    @Schema(description = "运动员ID")
    @NotNull(message = "运动员ID不能为空")
    private Long athleteId;
    
    @Schema(description = "报名编号")
    @Size(max = 50, message = "报名编号长度不能超过50个字符")
    private String registrationNumber;
    
    @Schema(description = "团队名称(团体项目)")
    @Size(max = 100, message = "团队名称长度不能超过100个字符")
    private String teamName;
    
    @Schema(description = "报名备注")
    @Size(max = 500, message = "报名备注长度不能超过500个字符")
    private String remarks;
}